Active comparator control